DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

B.4.1 StructureDefinition: SDC-Questionnaire

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/sdc-questionnaire

Defines how Questionnaire is used to reflect form definitions to be used within the ONC's Structured Data Capture standard.

This profile was published on Mon, Apr 21, 2014 00:00+1000 as a draft by Health Level Seven International (Orders and Observations - Structured Data Capture).

B.4.1.1 Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Questionnaire.

Summary

Mandatory: 4 elements (+4 nested mandatory elements)
Must-Support: 59 elements

Extensions

This structure refers to these extensions:

This structure is derived from Questionnaire.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*Questionnaire
... identifier S0..*Identifier
... version S0..1string
... status S1..1code
... date S1..1dateTime
... publisher S0..1string
... subjectType S0..*code
... group S1..1BackboneElement
.... linkId S1..1string
.... title S0..1string
..... style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/style
Slice: Unordered, Open, by url
..... markup 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/markup
.... concept S0..1Coding
.... text S0..1string
..... style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/style
Slice: Unordered, Open, by url
..... markup 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/markup
.... required S1..1boolean
.... repeats S1..1boolean
.... group S0..*
.... question S0..*BackboneElement
..... linkId S1..1string
..... concept 0..*Coding
..... text S1..1string
...... style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/style
Slice: Unordered, Open, by url
...... markup 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/markup
..... type S1..1code
..... required S0..1boolean
..... repeats S0..1boolean
..... options S0..1Reference(ValueSet)
..... option S0..*Coding
..... group S0..*
..... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
Slice: Unordered, Open, by url
..... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
..... questionnaire-instruction S0..1stringHow to populate group or question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
..... questionnaire-security S0..1stringSecurity/privacy rules governing group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
..... questionnaire-help S0..1stringText to display if help incoked on group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
..... questionnaire-tooltip S0..1stringFly-over or equivalent text
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
..... questionnaire-trailing S0..1stringText to display after group/question content
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
..... questionnaire-units S0..1stringUnit of measure for question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-units
..... questionnaire-enableWhen S0..*(Complex)Only allow data when:
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
...... question S1..1stringQuestion that must be answered
URL: question
Slice: Unordered, Open, by url
...... answered S0..1booleanwhen answered or not
URL: answered
...... answer S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaValue question must have
URL: answer
..... sdc-questionnaire-optionalDisplay 0..1booleanCan suppress from display to user
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
..... questionnaire-hidden S0..1booleanDon't display to user
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
..... questionnaire-questionControl 0..1CodeableConceptE.g. Checkbox, Combo-box, Lookup, etc.
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-questionControl
..... questionnaire-choiceOrientation 0..1codehorizontal | vertical
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
..... questionnaire-defaultValue S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaInitial presumed answer for question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
..... questionnaire-readOnly S0..1booleanDon't allow human editing
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-readOnly
..... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
..... questionnaire-maxLength S0..1integerNo more than this many characters
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxLength
..... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
..... entryFormat S0..1stringUser prompt for format
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
..... minValue S0..1date, dateTime, time, instant, decimal, integerMust be >= this value
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
..... questionnaire-deReference S0..1Reference(DataElement)Implemented CDE
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-deReference
.... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
Slice: Unordered, Open, by url
.... questionnaire-instruction S0..1stringHow to populate group or question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
.... questionnaire-security S0..1stringSecurity/privacy rules governing group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
.... questionnaire-help S0..1stringText to display if help incoked on group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
.... questionnaire-tooltip S0..1stringFly-over or equivalent text
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
.... questionnaire-trailing S0..1stringText to display after group/question content
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
.... sdc-questionnaire-optionalDisplay 0..1booleanCan suppress from display to user
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
.... questionnaire-hidden S0..1booleanDon't display to user
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
.... questionnaire-minOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
.... sdc-questionnaire-specialGroup S0..1codeheader | footer
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-specialGroup
... sdc-questionnaire-endpoint S0..*uriWhere to send answers
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-endpoint
Slice: Unordered, Open, by url
... sdc-questionnaire-provenanceSignatureRequred S0..1booleanIs associated Provenance needed?
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-provenanceSignatureRequred
... styleSensitive S0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/styleSensitive
... questionnaire-category S0..1CodeableConceptWhat kind of questionnaire?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-category

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I0..*QuestionnaireA structured set of questions
que-3: If root group must be "required"
que-2: The link ids for groups and questions must be unique within the questionnaire
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... sdc-questionnaire-endpoint S0..*uriExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-endpoint
... sdc-questionnaire-provenanceSignatureRequred S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-provenanceSignatureRequred
... styleSensitive S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/styleSensitive
... questionnaire-category S0..1CodeableConceptExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-category
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S 0..*IdentifierExternal identifiers for this questionnaire
... version S 0..1stringLogical identifier for this version of Questionnaire
... status ?! S1..1codedraft | published | retired
Binding: QuestionnaireStatus (required)
... date S 1..1dateTimeDate this version was authored
... publisher S 0..1stringOrganization/individual who designed the questionnaire
... telecom 0..*ContactPointContact information of the publisher
... subjectType S 0..*codeResource that can be subject of QuestionnaireResponse
Binding: ResourceType (required)
... group S I1..1BackboneElementGrouped questions
que-1: Groups may either contain questions or groups but not both
.... questionnaire-label S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-label"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-instruction S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-security S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-security"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-help S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-help"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-tooltip S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-trailing S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... sdc-questionnaire-optionalDisplay 0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
.... questionnaire-hidden S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
.... questionnaire-minOccurs S I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
inv-1: minOccurs can't be more than one if required is false
.... questionnaire-maxOccurs S I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
inv-2: maxOccurs can't be more than one if repeats is false
.... sdc-questionnaire-specialGroup S0..1codeExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-specialGroup
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringTo link questionnaire with questionnaire response
.... title S 0..1stringName to be displayed for group
..... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
..... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
..... value 0..1Primitive value for string
.... concept S 0..1CodingConcept that represents this section in a questionnaire
Binding: Questionnaire Question Codes (example)
.... text S0..1stringAdditional text for the group
..... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
..... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
..... value 0..1Primitive value for string
.... required S1..1booleanWhether the group must be included in data results
.... repeats S1..1booleanWhether the group may repeat
.... group S I0..*Nested questionnaire group
.... question S I0..*BackboneElementQuestions in this group
que-4: A question must use either option or options, not both
..... questionnaire-minOccurs I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
inv-1: minOccurs can't be more than one if required is false
..... questionnaire-maxOccurs I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
inv-2: maxOccurs can't be more than one if repeats is false
..... questionnaire-label S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-label"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-instruction S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-security S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-security"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-help S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-help"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-tooltip S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-trailing S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-units S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-units
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-units"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-enableWhen S0..*(Complex)Extension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
...... question S1..1stringExtension
URL: question
....... url 1..1uri"question"
....... valueString 1..1stringValue of extension
...... answered S0..1booleanExtension
URL: answered
....... url 1..1uri"answered"
....... valueBoolean 1..1booleanValue of extension
...... answer S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaExtension
URL: answer
....... url 1..1uri"answer"
....... value[x] 1..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaValue of extension
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen"
..... sdc-questionnaire-optionalDisplay 0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
..... questionnaire-hidden S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
..... questionnaire-questionControl 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-questionControl
..... questionnaire-choiceOrientation 0..1codeExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
..... questionnaire-defaultValue S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
..... questionnaire-readOnly S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-readOnly
..... minLength S0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/minLength
..... questionnaire-maxLength S0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxLength
..... regex S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/regex
..... entryFormat S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
..... minValue S0..1date, dateTime, time, instant, decimal, integerExtension
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... maxValue S0..1date, dateTime, time, instant, decimal, integerExtension
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... maxDecimalPlaces S0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
..... questionnaire-deReference S0..1Reference(DataElement)Extension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-deReference
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringTo link questionnaire with questionnaire response
..... concept 0..*CodingConcept that represents this question on a questionnaire
Binding: Questionnaire Question Codes (example)
..... text S1..1stringText of the question as it is shown to the user
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
..... type S1..1codeboolean | decimal | integer | date | dateTime +
Binding: AnswerFormat (required)
..... required S0..1booleanWhether the question must be answered in data results
..... repeats S0..1booleanWhether the question can have multiple answers
..... options S I0..1Reference(ValueSet)Valueset containing permitted answers
..... option S I0..*CodingPermitted answer
Binding: Questionnaire Answer Codes (example)
..... group S0..*Nested questionnaire group

doco Documentation for this format

todo

This structure is derived from Questionnaire.

Summary

Mandatory: 4 elements (+4 nested mandatory elements)
Must-Support: 59 elements

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from Questionnaire.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*Questionnaire
... identifier S0..*Identifier
... version S0..1string
... status S1..1code
... date S1..1dateTime
... publisher S0..1string
... subjectType S0..*code
... group S1..1BackboneElement
.... linkId S1..1string
.... title S0..1string
..... style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/style
Slice: Unordered, Open, by url
..... markup 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/markup
.... concept S0..1Coding
.... text S0..1string
..... style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/style
Slice: Unordered, Open, by url
..... markup 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/markup
.... required S1..1boolean
.... repeats S1..1boolean
.... group S0..*
.... question S0..*BackboneElement
..... linkId S1..1string
..... concept 0..*Coding
..... text S1..1string
...... style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/style
Slice: Unordered, Open, by url
...... markup 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/markup
..... type S1..1code
..... required S0..1boolean
..... repeats S0..1boolean
..... options S0..1Reference(ValueSet)
..... option S0..*Coding
..... group S0..*
..... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
Slice: Unordered, Open, by url
..... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
..... questionnaire-instruction S0..1stringHow to populate group or question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
..... questionnaire-security S0..1stringSecurity/privacy rules governing group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
..... questionnaire-help S0..1stringText to display if help incoked on group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
..... questionnaire-tooltip S0..1stringFly-over or equivalent text
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
..... questionnaire-trailing S0..1stringText to display after group/question content
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
..... questionnaire-units S0..1stringUnit of measure for question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-units
..... questionnaire-enableWhen S0..*(Complex)Only allow data when:
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
...... question S1..1stringQuestion that must be answered
URL: question
Slice: Unordered, Open, by url
...... answered S0..1booleanwhen answered or not
URL: answered
...... answer S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaValue question must have
URL: answer
..... sdc-questionnaire-optionalDisplay 0..1booleanCan suppress from display to user
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
..... questionnaire-hidden S0..1booleanDon't display to user
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
..... questionnaire-questionControl 0..1CodeableConceptE.g. Checkbox, Combo-box, Lookup, etc.
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-questionControl
..... questionnaire-choiceOrientation 0..1codehorizontal | vertical
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
..... questionnaire-defaultValue S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaInitial presumed answer for question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
..... questionnaire-readOnly S0..1booleanDon't allow human editing
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-readOnly
..... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
..... questionnaire-maxLength S0..1integerNo more than this many characters
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxLength
..... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
..... entryFormat S0..1stringUser prompt for format
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
..... minValue S0..1date, dateTime, time, instant, decimal, integerMust be >= this value
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
..... questionnaire-deReference S0..1Reference(DataElement)Implemented CDE
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-deReference
.... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
Slice: Unordered, Open, by url
.... questionnaire-instruction S0..1stringHow to populate group or question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
.... questionnaire-security S0..1stringSecurity/privacy rules governing group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
.... questionnaire-help S0..1stringText to display if help incoked on group/question
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
.... questionnaire-tooltip S0..1stringFly-over or equivalent text
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
.... questionnaire-trailing S0..1stringText to display after group/question content
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
.... sdc-questionnaire-optionalDisplay 0..1booleanCan suppress from display to user
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
.... questionnaire-hidden S0..1booleanDon't display to user
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
.... questionnaire-minOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
.... sdc-questionnaire-specialGroup S0..1codeheader | footer
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-specialGroup
... sdc-questionnaire-endpoint S0..*uriWhere to send answers
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-endpoint
Slice: Unordered, Open, by url
... sdc-questionnaire-provenanceSignatureRequred S0..1booleanIs associated Provenance needed?
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-provenanceSignatureRequred
... styleSensitive S0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/styleSensitive
... questionnaire-category S0..1CodeableConceptWhat kind of questionnaire?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-category

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I0..*QuestionnaireA structured set of questions
que-3: If root group must be "required"
que-2: The link ids for groups and questions must be unique within the questionnaire
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... sdc-questionnaire-endpoint S0..*uriExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-endpoint
... sdc-questionnaire-provenanceSignatureRequred S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-provenanceSignatureRequred
... styleSensitive S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/styleSensitive
... questionnaire-category S0..1CodeableConceptExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-category
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S 0..*IdentifierExternal identifiers for this questionnaire
... version S 0..1stringLogical identifier for this version of Questionnaire
... status ?! S1..1codedraft | published | retired
Binding: QuestionnaireStatus (required)
... date S 1..1dateTimeDate this version was authored
... publisher S 0..1stringOrganization/individual who designed the questionnaire
... telecom 0..*ContactPointContact information of the publisher
... subjectType S 0..*codeResource that can be subject of QuestionnaireResponse
Binding: ResourceType (required)
... group S I1..1BackboneElementGrouped questions
que-1: Groups may either contain questions or groups but not both
.... questionnaire-label S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-label"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-instruction S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-security S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-security"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-help S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-help"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-tooltip S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... questionnaire-trailing S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
..... valueString 1..1stringValue of extension
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
.... sdc-questionnaire-optionalDisplay 0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
.... questionnaire-hidden S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
.... questionnaire-minOccurs S I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
inv-1: minOccurs can't be more than one if required is false
.... questionnaire-maxOccurs S I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
inv-2: maxOccurs can't be more than one if repeats is false
.... sdc-questionnaire-specialGroup S0..1codeExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-specialGroup
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringTo link questionnaire with questionnaire response
.... title S 0..1stringName to be displayed for group
..... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
..... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
..... value 0..1Primitive value for string
.... concept S 0..1CodingConcept that represents this section in a questionnaire
Binding: Questionnaire Question Codes (example)
.... text S0..1stringAdditional text for the group
..... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
..... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
..... value 0..1Primitive value for string
.... required S1..1booleanWhether the group must be included in data results
.... repeats S1..1booleanWhether the group may repeat
.... group S I0..*Nested questionnaire group
.... question S I0..*BackboneElementQuestions in this group
que-4: A question must use either option or options, not both
..... questionnaire-minOccurs I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
inv-1: minOccurs can't be more than one if required is false
..... questionnaire-maxOccurs I0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
inv-2: maxOccurs can't be more than one if repeats is false
..... questionnaire-label S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-label
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-label"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-instruction S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-instruction
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-security S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-security
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-security"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-help S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-help
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-help"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-tooltip S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-trailing S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-trailing
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-units S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-units
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-units"
...... valueString 1..1stringValue of extension
....... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
....... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
....... value 0..1Primitive value for string
..... questionnaire-enableWhen S0..*(Complex)Extension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
...... question S1..1stringExtension
URL: question
....... url 1..1uri"question"
....... valueString 1..1stringValue of extension
...... answered S0..1booleanExtension
URL: answered
....... url 1..1uri"answered"
....... valueBoolean 1..1booleanValue of extension
...... answer S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaExtension
URL: answer
....... url 1..1uri"answer"
....... value[x] 1..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaValue of extension
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen"
..... sdc-questionnaire-optionalDisplay 0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay
..... questionnaire-hidden S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
..... questionnaire-questionControl 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-questionControl
..... questionnaire-choiceOrientation 0..1codeExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
..... questionnaire-defaultValue S0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
..... questionnaire-readOnly S0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-readOnly
..... minLength S0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/minLength
..... questionnaire-maxLength S0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxLength
..... regex S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/regex
..... entryFormat S0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
..... minValue S0..1date, dateTime, time, instant, decimal, integerExtension
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... maxValue S0..1date, dateTime, time, instant, decimal, integerExtension
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... maxDecimalPlaces S0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
..... questionnaire-deReference S0..1Reference(DataElement)Extension
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-deReference
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringTo link questionnaire with questionnaire response
..... concept 0..*CodingConcept that represents this question on a questionnaire
Binding: Questionnaire Question Codes (example)
..... text S1..1stringText of the question as it is shown to the user
...... style 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/style
...... markup 0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/markup
...... value 0..1Primitive value for string
..... type S1..1codeboolean | decimal | integer | date | dateTime +
Binding: AnswerFormat (required)
..... required S0..1booleanWhether the question must be answered in data results
..... repeats S0..1booleanWhether the question can have multiple answers
..... options S I0..1Reference(ValueSet)Valueset containing permitted answers
..... option S I0..*CodingPermitted answer
Binding: Questionnaire Answer Codes (example)
..... group S0..*Nested questionnaire group

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

B.4.1.2 Terminology Bindings

PathNameConformanceValueSet
Questionnaire.language?extrequiredhttp://tools.ietf.org/html/bcp47
Questionnaire.statusQuestionnaireStatusrequiredQuestionnaireStatus
Questionnaire.subjectTypeResourceTyperequiredResourceType
Questionnaire.group.conceptQuestionnaire Question CodesexampleQuestionnaire Question Codes
Questionnaire.group.question.conceptQuestionnaire Question CodesexampleQuestionnaire Question Codes
Questionnaire.group.question.typeAnswerFormatrequiredAnswerFormat
Questionnaire.group.question.optionQuestionnaire Answer CodesexampleQuestionnaire Answer Codes

B.4.1.3 Constraints

IdPathDetailsRequirements
que-3QuestionnaireIf root group must be "required"
XPath: f:group/f:required/@value=true()
que-2QuestionnaireThe link ids for groups and questions must be unique within the questionnaire
XPath: count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))
que-1Questionnaire.groupGroups may either contain questions or groups but not both
XPath: not(exists(f:group) and exists(f:question))
que-4Questionnaire.group.questionA question must use either option or options, not both
XPath: not(f:options and f:option)
.